package org.eliza.base.enumsx

import kotlin.enums.enumEntries


enum class EchoError {
    x, y, z
}

fun main() {
    val enumEntries = enumEntries<EchoError>()
    println(enumEntries)
    for (error in EchoError.entries) {

    }
    println(EchoError.y == EchoError.y)
    println(EchoError.y == EchoError.z)
}